home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
devel
/
vbcc-68k-src
/
machines
/
amiga68k
/
include
/
inline
/
battmem_protos.h
< prev
next >
Wrap
Text File
|
1999-01-01
|
711b
|
9 lines
void __ObtainBattSemaphore(__reg("a6") void *)="\tjsr\t-6(a6)";
#define ObtainBattSemaphore() __ObtainBattSemaphore(BattMemBase)
void __ReleaseBattSemaphore(__reg("a6") void *)="\tjsr\t-12(a6)";
#define ReleaseBattSemaphore() __ReleaseBattSemaphore(BattMemBase)
ULONG __ReadBattMem(__reg("a0") APTR buffer,__reg("d0") unsigned long offset,__reg("d1") unsigned long length ,__reg("a6") void *)="\tjsr\t-18(a6)";
#define ReadBattMem(x1,x2,x3) __ReadBattMem((x1),(x2),(x3),BattMemBase)
ULONG __WriteBattMem(__reg("a0") APTR buffer,__reg("d0") unsigned long offset,__reg("d1") unsigned long length ,__reg("a6") void *)="\tjsr\t-24(a6)";
#define WriteBattMem(x1,x2,x3) __WriteBattMem((x1),(x2),(x3),BattMemBase)